package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品明细对象 product_info
 * 
 * @author ruoyi
 * @date 2024-07-10
 */
public class ProductInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String productCode;

    /** 仓库编码 */
    @Excel(name = "仓库编码")
    private String warehouseCode;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 开票类型 */
    @Excel(name = "开票类型")
    private String productGroup;

    /** 九大类 */
    @Excel(name = "九大类")
    private String nineGroup;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private String productName;

    /** 规格 */
    @Excel(name = "规格")
    private String model;

    /** 型号 */
    @Excel(name = "型号")
    private String specs;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 供应商 */
    @Excel(name = "供应商")
    private String provide;

    /** 营运公司 */
    @Excel(name = "营运公司")
    private String company;

    /** 预留类型 */
    @Excel(name = "预留类型")
    private String preGroup;

    @Excel(name= "车型")
    private String busModel;


    private ProductMoney productMoney;

    public String getBusModel() {
        return busModel;
    }

    public void setBusModel(String busModel) {
        this.busModel = busModel;
    }

    public ProductMoney getProductMoney() {
        return productMoney;
    }

    public void setProductMoney(ProductMoney productMoney) {
        this.productMoney = productMoney;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductCode(String productCode) 
    {
        this.productCode = productCode;
    }

    public String getProductCode() 
    {
        return productCode;
    }
    public void setProductGroup(String productGroup) 
    {
        this.productGroup = productGroup;
    }

    public String getProductGroup() 
    {
        return productGroup;
    }
    public void setNineGroup(String nineGroup) 
    {
        this.nineGroup = nineGroup;
    }

    public String getNineGroup() 
    {
        return nineGroup;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setSpecs(String specs) 
    {
        this.specs = specs;
    }

    public String getSpecs() 
    {
        return specs;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setProvide(String provide) 
    {
        this.provide = provide;
    }

    public String getProvide() 
    {
        return provide;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setPreGroup(String preGroup) 
    {
        this.preGroup = preGroup;
    }

    public String getPreGroup() 
    {
        return preGroup;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productCode", getProductCode())
            .append("productGroup", getProductGroup())
            .append("nineGroup", getNineGroup())
            .append("productName", getProductName())
            .append("model", getModel())
            .append("specs", getSpecs())
            .append("brand", getBrand())
            .append("provide", getProvide())
            .append("company", getCompany())
            .append("preGroup", getPreGroup())
            .append("warehouseCode", getWarehouseCode())
            .append("warehouseName", getWarehouseName())
            .toString();
    }
}
